package com.software.usercenter.entity;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

import lombok.Data;

import java.util.List;

@Data
@Entity
/**
 * Author: zk
 * Description: 题目类
 */
public class Question {
    @Id
    private Integer id; // 主键id
    private String title; // 题目标题
    private String description; // 题目描述
    private Long timeLimit;//时间限制,单位默认为:s
    private Long memoryLimit;//内存限制,单位默认为:MB
    private String inputDescription; // 输入描述
    private String outputDescription; // 输出描述
    private String inputList; // 输入样例
    private String outputList; // 输出样例
    private String degree; // 题目难度 : 困难、中等、简单

    // Getter and Setter methods
}
